//
//  WSMyTool.h
//  RunningMan
//
//  Created by 王帅 on 16/5/18.
//  Copyright © 2016年 WSJ. All rights reserved.
//

#ifndef WSMyTool_h
#define WSMyTool_h
#import <AFNetworking.h>
#import <MJRefresh.h>
#import <UIImageView+WebCache.h>
#import <MJExtension.h>

#define COLOR [UIColor colorWithRed:arc4random() % 256 / 255.0 green:arc4random() % 256 / 255.0 blue:arc4random() % 256 / 255.0 alpha:1.0]


#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height

#define CELLWIDTH self.contentView.frame.size.width
#define CELLHEIGHT self.contentView.frame.size.height

//字体适配
#define FITWIDTH (float)[UIScreen mainScreen].bounds.size.width/414
#define FITHEIGHT (float)[UIScreen mainScreen].bounds.size.height/736

#endif /* WSMyTool_h */
